package com.wuxiaofan.secondkill.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import java.math.BigDecimal;
import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 用户
 * </p>
 *
 */
@Data
@TableName("t_user")
public class User extends Model<User> {

    private static final long serialVersionUID = 1L;

      /**
      *
      */
      private  Long  id;
      /**
      *
      */
      private  String  nickname;
      /**
      *密码(md5(md5(明文+salt)+salt)
      */
      private  String  passwd;
      /**
      *盐值
      */
      private  String  salt;
      /**
      *
      */
      private  Date  registerDate;
      /**
      *
      */
      private  Date  lastLoginDate;
      /**
      *
      */
      private  Integer  loginCount;
      /**
      *头像
      */
      private  String  head;


}